﻿using System;
using System.Collections.Generic;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;

namespace UpdateServer
{
    public partial class Default : System.Web.UI.Page
    {
        protected void Page_Load(object sender, EventArgs e)
        {
            string userid = Session["USERID"] as string;
            ServerDataTableAdapters.T_APPSTableAdapter ad = new UpdateServer.ServerDataTableAdapters.T_APPSTableAdapter();
            GridViewApps.DataSource = ad.GetData();
            GridViewApps.DataBind();
        }

        protected void GridViewApps_RowCommand(object sender, GridViewCommandEventArgs e)
        {
            int inndex=int.Parse(e.CommandArgument.ToString());

            //GridViewApps.Rows[inndex];
        }
    }
}
